<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <script>
        var tmp1 = 10;
        console.log(typeof tmp1);   //number
        var tmp2 = true;
        console.log(typeof tmp2);   //boolean
        var tmp3
        console.log(typeof tmp3);   //undefined
        var tmp4 = null;
        console.log(typeof tmp4);   //object
    </script>
</head>
<body>
    
</body>
</html>